<!--{eval $fullname = $subject[name].($subject[subname]?("(".$subject[subname].")"):'');}-->
<div class="mainrail rail-border-3">
    <div class="sub-mainrail">
        <h3 class="sub-title">$subject[name]{if $subject[subname]}($subject[subname]){/if}</h3>
        <!--{eval $reviewcfg = $_G['loader']->variable('config','review');}-->
        <p class="site_subject_start start{print get_star($subject[avgsort],$reviewcfg[scoretype])}"></p>
        <table class="side_subject_field_list" border="0" cellspacing="0" cellpadding="0">
            <tr>
                <td colspan="2">
                    <span class="font_2">$subject[reviews]</span>点评,
                    <span class="font_2">$subject[guestbooks]</span>留言,
                    <span class="font_2">$subject[pageviews]</span>浏览
                </td>
            </tr>
            $subject_field_table_tr
        </table>
    </div>
</div>
<!--{if $subject[mappoint] && !$hidemap}-->
<div class="mainrail rail-border-3 mt10">
    <!--{eval $show_map = $subject[mappoint] ? 1 : 0;}-->
    <script type="text/javascript">
    function show_bigmap() {
        var src = "{url index/map/width/600/height/400/title/$fullname/p/$subject[mappoint]/show/$show_map}";
        var html = '<iframe src="' + src + '" frameborder="0" scrolling="no" width="100%" height="400" id="ifupmap_map"></iframe>';
        dlgOpen('查看大图', html, 600, 450);
    }
    </script>
    <a href="javascript:;"onclick="show_bigmap()">
        <img src="{print:modoer map_static_image(size/195x245/title/$fullname/p/$subject[mappoint]/show/$show_map)}" alt="$fullname" title="$fullname" />
    </a>
    <div style="text-align:center;margin:5px 0;">
        <!--{if !$subject['mappoint']}-->
        <a href="javascript:post_map($subject[sid], $subject[pid]);">地图未标注，我来标注</a>
        <!--{else}-->
        <a href="javascript:show_bigmap();">查看大图</a>&nbsp;
        <a href="javascript:post_map($subject[sid], $subject[pid]);">报错</a>
        <!--{/if}-->
    </div>
</div>
<!--{/if}-->